package com.itheima.chapter06.interface1.demo2;

public class test {
    public static void main(String[] args) {
        System.out.println(Inter.NUM);
    }
}

class InterImpl extends Object implements Inter{
    public InterImpl(){

        super();//调用的Object类的构造方法
    }

    public void method(){
        //num=20;

        System.out.println(NUM);
    }

    @Override
    public void show() {

    }
}